Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Environment w/Access & SQL ?

Status
Not open for further replies.

cj92713696

Programmer
Nov 23, 2000
105
US
I've developed an app. using Visual Basic 6 that utilizes the data environment w/an Access 2000 database. I have since setup a SQL Server replicating the Access schema. Am I allowed to connect my data environment to my SQL Server by just changing the data source? Is there any way to do this?

The problem I have lies in the variable declares in the actual SQL text. Access variables are listed as @VarName whereas SQL Server lists variables as a simple ?.

I'd really like to connect my app. to my SQL Server database w/o re-doing the entire data environment changing all the query variables to ?. I have at least 60 queries that would need to be converted and this seems like an excessive amount of extra work if it can be avoided.

Thanks,
CJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top