Solved

add a record and delete a record on a flexgrid

Posted on 2014-11-26
7
114 Views
Last Modified: 2014-11-27
The attached project successfully imports websites from a text file into a flexgrid and then allows editing in the flexgrid.  After the editing, the updated records can be exported back to the text file.

When it comes to "adding" a new record and "deleting" a record, I am only familiar with datagrids.  It seems that adding a record and deleting a record must occur programmatically.  What is the best way to add a record and delete a record in the attached project? (msflexgrid)

Thank you very much for your help.
add-delete-record.zip
0
Comment
Question by:al4629740
  • 5
  • 2
7 Comments
 
LVL 47

Expert Comment

by:Martin Liss
ID: 40469138
I'll have a solution shortly.
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 40469196
I'm assuming that you want to add a new website and that it's a requirement that there be a domain (e.g. .com, .net., etc).
0
 
LVL 47

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40469463
Try the attached.
Q-28570524.zip
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 47

Expert Comment

by:Martin Liss
ID: 40469465
When the user edits an entry, is it allowable that the result winds up as a duplicate of another entry? That's possible now and if you don't want to allow it I'd appreciate you requesting that in a new question, but I can do it here if you like, so just let me know.
0
 

Author Comment

by:al4629740
ID: 40469479
I will ask it in another question.  Thank Martin.  Let me test it out
0
 

Author Closing Comment

by:al4629740
ID: 40469484
Excellent
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 40469496
Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA error replacing data 6 41
VBA: Select SQL query based on a config Sheet v2 11 52
Help me. 3 68
Collapse and expand table in Word 2010 2 87
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question