Skip to content

Tag: sql

Access 2013 Requesting Enter Parameter On Insert Query

I’ve got a list box that pulls tests from a database depending on the college any particular student is in. When the student selects a test, I simply want to pull a few values out of the List box for stat tracking purposes. When I run this query, it requests I enter a parameter value. Here is my code: O…

Access DoCmd.OpenReport Where condition issue

I’m trying to print a report, like a invoice. But I have an issue with the Cmd.OpenReport Function. I have a query for that invoice with a parameter. I join this query with a report. When I open the report, I have to type the ID of the invoice. That is OK. But I have to print this report with

Check if a string contains only number

I am trying to check if a string contains only valid number in the following format But it should reject anything that contains non-numbers including double dots. Here are some invalid formats I have done the following When seems to work except for the case where there is more than one dot in the string. How …

type conversion failure

I have a table that looks something like this: The empty fields can be null or an empty string, I’m not sure. I want to update the firstName field to be all the characters in the name field until the -, whether firstname was empty or not. It doesn’t matter what was in there before the update. I tr…

Can I generate a deployment script from a dacpac

I’ve got a .dacpac file that’s being called by MSBuild and published to a QA database for testing. This publish is failing and the error I’m getting back from them is a generic “an error has occurred” message. I was hoping I could generate the deployment script from the dacpac an…