Click here to Skip to main content
15,889,527 members

Comments by BassamKassem (Top 19 by date)

BassamKassem 13-Oct-19 16:21pm View    
you were right , I debugged the value and it turned out that the problem was in @TXT_Cust_Record_ID from the SELECT query i changed it from

strSelect = "Select * From Customers"
strSelect &= "WHERE ID = (ID = @TXT_Cust_Record_ID)"

to

strSelect = "Select * From Customers"
strSelect &= "WHERE ID = (@TXT_Cust_Record_ID)"
BassamKassem 8-Oct-19 6:44am View    
Thanks bro you are genius , here is a fix based on your recommendations

Dim expr As String = "SELECT * FROM [Sheet1$] WHERE ID > '0'"
BassamKassem 4-Oct-19 14:05pm View    
thanks , i already mentioned above that i had rewrote my application from the scratch to make it compatible with SQL SRV and it is working flawlessly however i can wait till my org publish my DB to a running server . thanks again it seems i will have to wait
BassamKassem 4-Oct-19 13:31pm View    
I know that and that is what i did , but it will take a lot of time till my company publish my SQL DB to a running server s for allocating one PC to be used as a server this is not applicable for me as well. i urgently need a work around
BassamKassem 1-Oct-19 11:37am View    
am afraid it is a VB error and it is related to filling the data-grid by the modified records