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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

message box in VISUAL FOXPRO

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
hi guys

i am using sqlconnect,sqlexec functions in visual foxpro . i created one procedure in sql server . i called that procedure in visual foxpro . "but raiseerror message does not display in visual foxpro" i dont know why ?
if somebody know please let me know

thanks & regards
m.a.khaleel
 
Hi!

SQLEXEC do nto cause error firing when error happened on the SQL Server. SQLEXEC() just return -1 if errors happened. In your program check if SQLEXEC() was successful. If not, you can get ALL error and warnign messages from server using AERROR() function.

HTH.
Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top