Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLSERVER Problem
Message
From
22/08/2016 02:21:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQLSERVER Problem
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01639729
Message ID:
01639729
Views:
96
Sir, I have these codes
cmd="select MAX(vou_no)as max_sno from arrival"
if sqlexec(con,cmd,'table1')<0
	aerror(laerror)
	messagebox(laerror[1,2])
	return.f.
else
	select table1
	thisform.text1.value=nvl(max_sno,0)+1
endif
These code work fine on every event but not on INIT of Form.

When I use above code on INIT of form then I have to face this error message

Connection #1 is busy.

Please help
Next
Reply
Map
View

Click here to load this message in the networking platform